﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace fCloud.SensorApi.Models;
[Table("sensordatas")]
public class SensorData
{
    [Key]
    [Column("id")]
    public Guid Id { get; set; }
    [Column("sensor_sn")]
    public string SensorSn { get; set; }
    [Column("device_code")]
    public string DeviceCode { get; set; }
    [Column("device_name")]
    public string DeviceName { get; set; }
    [Column("create_time")]
    public DateTime CreateTime { get; set; }
    [Column("temper")]
    public double Temper { get; set; }
    [Column("dens")]
    public double Dens { get; set; }
    [Column("vis")]
    public double Vis { get; set; }
    [Column("vis40")]
    public double Vis40 { get; set; }
    [Column("diel")]
    public double Diel { get; set; }
    [Column("ppm")]
    public double Ppm { get; set; }
    [Column("aw")]
    public double Aw { get; set; }
    [Column("mo")]
    public double Mo { get; set; }
    [Column("par1")]
    public double Par1 { get; set; }
    [Column("par2")]
    public double Par2 { get; set; }
    [Column("par3")]
    public double Par3 { get; set; }
    [Column("par4")]
    public double Par4 { get; set; }
    [Column("par5")]
    public double Par5 { get; set; }
    [Column("par6")]
    public double Par6 { get; set; }
    [Column("par7")]
    public double Par7 { get; set; }
    [Column("par8")]
    public double Par8 { get; set; }
    [Column("class1")]
    public double Class1 { get; set; }
    [Column("class2")]
    public double Class2 { get; set; }
    [Column("class3")]
    public double Class3 { get; set; }
    [Column("class4")]
    public double Class4 { get; set; }
    [Column("class5")]
    public double Class5 { get; set; }
    [Column("class6")]
    public double Class6 { get; set; }
    [Column("class_total")]
    public double ClassTotal { get; set; }
    [Column("standard")]
    public double Standard { get; set; }
    [Column("fe1")]
    public double Fe1 { get; set; }
    [Column("fe2")]
    public double Fe2 { get; set; }
    [Column("fe3")]
    public double Fe3 { get; set; }
    [Column("fe4")]
    public double Fe4 { get; set; }
    [Column("fe5")]
    public double Fe5 { get; set; }
    [Column("fe6")]
    public double Fe6 { get; set; }
    [Column("fe7")]
    public double Fe7 { get; set; }
    [Column("fe8")]
    public double Fe8 { get; set; }
    [Column("nfe1")]
    public double NFe1 { get; set; }
    [Column("nfe2")]
    public double NFe2 { get; set; }
    [Column("nfe3")]
    public double NFe3 { get; set; }
    [Column("nfe4")]
    public double NFe4 { get; set; }
    [Column("nfe5")]
    public double NFe5 { get; set; }
    [Column("fe")]
    public double Fe { get; set; }
    [Column("nfe")]
    public double NFe { get; set; }
    [Column("state")]
    public double State { get; set; }
    [Column("press")]
    public double Press { get; set; }
    [Column("speed")]
    public double Speed { get; set; }
    [Column("buffer_temper")]
    public double BufferTemper { get; set; }
}